
package com.xuebang.admin.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.web.multipart.commons.CommonsMultipartFile;


@Table(name="friends")
public class Friends {
	@Id
	private Integer id;
	@Column
	private String name;
	
	@Column(name="web_url")
	private String webUrl;
	
	@Column(name="img_url")
	private String imgUrl;
	
	@Column
	private Integer ifindex;
	@Column
	private Integer ifusing;
	@Column
	private Integer orderby;
	
	/** 缩略图 */
	private CommonsMultipartFile picFile;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getWebUrl() {
		return webUrl;
	}
	public void setWebUrl(String webUrl) {
		this.webUrl = webUrl;
	}
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public Integer getIfindex() {
		return ifindex;
	}
	public void setIfindex(Integer ifindex) {
		this.ifindex = ifindex;
	}
	public Integer getIfusing() {
		return ifusing;
	}
	public void setIfusing(Integer ifusing) {
		this.ifusing = ifusing;
	}
	public Integer getOrderby() {
		return orderby;
	}
	public void setOrderby(Integer orderby) {
		this.orderby = orderby;
	}
	public CommonsMultipartFile getPicFile() {
		return picFile;
	}

	public void setPicFile(CommonsMultipartFile picFile) {
		this.picFile = picFile;
	}
}
